﻿<%@ Page Title="Bearbeiten" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" 
    CodeBehind="bearbeiten.aspx.cs" Inherits="ASV.Bearbeiten" %>
<asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent">

</asp:Content>
<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">

    <form class="form-horizontal" runat="server" id="ProduktBearbeiten">
        <fieldset>

        <!-- Form Name -->
        <legend>Produkt bearbeiten</legend>

        <!-- Text input-->
        <div class="control-group" style="width:auto">
          <label class="control-label" for="name">Produktname</label>
          <div class="controls">
            <asp:TextBox id="NameID" name="name" style="width:250px" type="text" placeholder="" class="input-xlarge" runat="server"></asp:TextBox>
          </div>
        </div>

        <!-- Textarea -->
        <div class="control-group" style="width:auto">
          <label class="control-label" for="beschreibung">Beschreibung</label>
          <div class="controls">                     
            <textarea id="BeschreibungID" style="width:250px;height:150px" name="beschreibung" runat="server"></textarea>
          </div>
        </div>

        <!-- Text input-->
        <div class="control-group" style="width:auto">
          <label class="control-label" for="seriennummer">Seriennummer</label>
          <div class="controls">
            <asp:TextBox id="SeriennummerID" style="width:250px" name="seriennummer" type="text" placeholder="" class="input-xlarge" runat="server"></asp:TextBox>
    
          </div>
        </div>
            
        <!-- Text input-->
        <div class="control-group" style="width:auto">
          <label class="control-label" for="preis">Preis in €</label>
          <div class="controls">
            <asp:TextBox id="PreisID" style="width:250px" name="preis" type="text" placeholder="" class="input-small" runat="server"></asp:TextBox>
            
          </div>
        </div>

        <!-- Text input-->
        <div class="control-group" style="width:auto">
          <label class="control-label" for="preis">Bild</label>
          <div class="controls">
            <asp:FileUpload ID="UrlID2" style="width:350px" runat="server" />
    
          </div>
        </div>
            <!-- Button -->
        <div class="control-group" style="width:auto">
          <label class="control-label" for="add"></label>
          <div class="controls">
            <asp:Button runat="server" style="width:250px" id="AddButton" name="AddButton" class="btn btn-danger" Text="Ändern" OnClick="EditButton_Click"></asp:Button>

          </div>
        </div>

        </fieldset>
    </form>

</asp:Content>